﻿using System.Collections.Generic;
using Dost.Khcn.Data.EntityModel;

namespace Dost.Khcn.Data.Interfaces
{
    public interface ITinhThanhPhoDao
    {
        List<TinhThanhPho> GetTinhThanhPhos(int startIndex, int pageSize, string sorting, string name, out int totalRecords);
        List<TinhThanhPho> GetAll();
        TinhThanhPho AddTinhThanhPho(TinhThanhPho tinhThanhPho);
        TinhThanhPho GetById(int id);
        void UpdateTinhThanhPho(TinhThanhPho tinhThanhPho);
        void DeleteTinhThanhPho(int id);
    }
}
